package com.java1412.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author java1412
 * @create 2021-07-20 13:57
 */
@Data
@Configuration
public class OssConfig {
    @Value("${aliyun.endpoint}")
    private String endPoint;

    @Value("${aliyun.accessKeyId}")
    private String accessKeyId;

    @Value("${aliyun.accessKeySecret}")
    private String accessKeySecret;

    @Value("${aliyun.filehost}")
    private String filehost;

    @Value("${aliyun.bucketName}")
    private String bucketName;
}
